package org.generic.service.impl;

import org.generic.entity.SystemUser;
import org.generic.mapper.SystemUserMapper;
import org.springframework.stereotype.Service;

/**
 * SystemUserServiceImpl
 *
 * @author 李坤
 */
//@Validated
@Service("systemUserService")
public class SystemUserServiceImpl extends AbstractUserService<SystemUser, SystemUserMapper, SystemRoleServiceImpl> {
    @Override
    public String getNotice() {
        return "999感冒灵";
    }

    @Override
    public String getUsername(String id) {
        return this.getUser(id).getUsername();
    }
}
